LocalAudioStats class Null safety
本地音频流统计信息,统计周期为 2s
本地用户发布音频流成功后,SDK 会周期性地通过 RTCRoomEventHandler.onLocalStreamStats 通知用户发布的音频流在此次统计周期内的发送状况,此数据结构即为回调给用户的参数类型。
Constructors
Properties
- audioLossRate → double?
-
音频丢包率 [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- numChannels → int?
-
音频声道数
final
- recordSampleRate → int?
-
采集采样率 [...]
final
- rtt → int?
-
往返时延,单位为 ms
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sentKBitrate → double?
-
发送码率 [...]
final
- sentSampleRate → int?
-
音频发送采样率 [...]
final
- statsInterval → int?
-
统计间隔 [...]
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited